const arr = new Array(5).fill(0); // [0, 0, 0, 0, 0]
console.log(arr.map(item => 1));
